package com.vhall.component.entity.room.enums;

import com.vhall.component.entity.dictionary.enums.BaseEnum;

/**
 * LiveLimitUserScopeEnum-
 * 国信观看用户范围类型| 0：所有用户可见, 1：仅限持仓产品的客户可见,2:指定白名单手机号用户可见
 * @author xing.wang
 * @date 2023/10/23
 */
public enum LiveLimitUserScopeEnum implements BaseEnum {
    ALL_USER_VISIBLE(0, "所有用户可见")
    , HOLDING_PRODUCT_USER_VISIBLE(1, "仅限持仓产品的客户可见")
    ,WHITELIST_USER_VISIBLE(2,"指定白名单手机号用户可见");
    private final Integer value;
    private final String name;

    LiveLimitUserScopeEnum(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getName() {
        return name;
    }
}
